package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lwj
 * @date 2024/8/15
 */
    
@Data
@TableName(value = "t_cat_ext")
public class CatExt {
    /**
     *  主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 猫咪编号
     */
    @TableField(value = "cat_code")
    private String catCode;

    /**
     * mbti
     */
    @TableField(value = "cat_mbti")
    private String catMbti;

    /**
     * 性格
     */
    @TableField(value = "cat_character")
    private String catCharacter;

    @TableField(value = "cat_detail_qr_code")
    private String catDetailQrCode;


    @TableField("procure_cost")
    private Long procureCost;

    @TableField("operations_cost")
    private Long operationsCost;

    @TableField("last_in_cage_time")
    private LocalDateTime lastInCageTime;

    @TableField("in_cage_no")
    private String inCageNo;

    @TableField("add_emp_id")
    private Long addEmpId;

    @TableField("add_emp_name")
    private String addEmpName;

    @TableField("cat_time")
    private LocalDateTime catTime;

    @TableField("add_shop_code")
    private String addShopCode;

    @TableField("sales_days")
    private Integer salesDays;

    @TableField("sales_num")
    private Integer salesNum;


    @TableField(value = "version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}